//
//  UIButton+Countdown.h
//  BLUitility
//
//  Created by iBenz on 17/4/12.
//  Copyright © 2017年 Benzii. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (Countdown)

- (void)bl_countdownWithSeconds:(int)seconds
                          title:(NSString *(^)(int seconds))titleBlock;

- (void)bl_countdownWithSeconds:(int)seconds
                          title:(NSString *(^)(int seconds))titleBlock
           enableWhenProcessing:(BOOL)enable
            disableWhenFinished:(BOOL)disable;

- (void)bl_cancelCountdown;

@end
